<template>
  <div class="rider-center-container">
    <h2>骑手中心</h2>
    <p>这里是骑手相关功能页面，后续可扩展接单、订单管理等功能。</p>
    <el-card class="box-card">
      <template slot="header">
        <div class="clearfix">
          <span>骑手中心</span>
        </div>
      </template>
      <div v-for="o in 4" :key="o" class="text item">
        <span>功能 {{ o }}</span>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'RiderCenter'
}
</script>

<style scoped>
.rider-center-container {
  max-width: 350px;
  margin: 60px auto;
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.box-card {
  width: 100%;
  margin-top: 20px;
}
.text {
  font-size: 14px;
}
.item {
  margin-bottom: 18px;
}
</style>